-- GENERATED SPELL FOR [Corrupted Infernal] --


function spell0_14668(pUnit, Event) --@Inferno Effect,n/a--
pUnit:FullCastSpellOnTarget(22703,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14668', 2300, 1)
end

function Sorts_14668(pUnit, Event)
local choix_sorts_14668 = math.random(0, 0)
if choix_sorts_14668 == 0 then
pUnit:RegisterEvent('spell0_14668', 1, 1)
end
end

function mob14668_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14668', math.random(1500, 3000), 1)
end

function mob14668_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14668_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14668_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14668, 1, 'mob14668_Action')
RegisterUnitEvent(14668, 2, 'mob14668_Leave')
RegisterUnitEvent(14668, 3, 'mob14668_Kill')
RegisterUnitEvent(14668, 4, 'mob14668_Die')
